package com.fanyouzhao.ssm251.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

/**
 * @Author: fanyouzhao
 * @Date: 9:40 2021/5/20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Cp优惠券类型")
public class Cp implements Serializable {
    @ApiModelProperty(name = "id",value = "优惠券编号")
    private Integer id;
    private String name;
    private String desc;
    private String img;
    private String role;
    private Date collectExpire;
    private Date useExpire;
    private boolean inUse;
    private CpDetail detail;
}
